
package com.neusoft.databus.agent.pool.socket;

import java.net.Socket;

import org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig;
import org.springframework.stereotype.Component;

import com.neusoft.databus.common.connection.SocketConnection;
import com.neusoft.databus.common.pool.AbstractPool;

/**
 * description
 *
 * @author sunchf
 * @date 2018年12月13日 下午3:01:37
 */

@Component
public class SocketPool extends AbstractPool<SocketConnection, Socket> {

    @Override
    public String getName() {
        return "SOCKET连接池";
    }

    @SuppressWarnings("rawtypes")
    public SocketPool(SocketFactory factory, GenericKeyedObjectPoolConfig socketPoolConfig) {
        super(factory, socketPoolConfig);
    }
}
